package chixing.day19.homework.work1_1;

public class FestivalDiscount implements DiscountStrategy {
    public FestivalDiscount(){}
    //节日优惠：节日期间全场 9 折。
    @Override
    public double applyDiscount(double originalPrice, User user, Product product) {
        return originalPrice * 0.9;
    }
}
